
<%= form_for(:user, url: registration_path(:user), html: { class: 'form-signin form-horizontal' } ) do |f| %>

<h2 class="form-signin-heading">Sign Up</h2>
<div class="form-group">
	<%= f.label "Name", :class => "col-sm-3 control-label" %>
	<div class="col-sm-9">
	<%= f.text_field :name, placeholder: '이름', class: 'form-control' %>
	</div>
</div>
<div class="form-group">
	<%= f.label "E-mail", :class => "col-sm-3 control-label" %>
	 <div class="col-sm-9">
	 	<%= f.email_field :email, placeholder: '이메일', class: 'form-control' %>
	</div>
</div>
<div class="form-group">
	<%= f.label "Password", :class => "col-sm-3 control-label" %>
	 <div class="col-sm-9">
	 	<%= f.password_field(:password, placeholder: '암호', class: 'form-control') %>
	</div>
</div>
<div class="form-group">
	<%= f.label "Password Confirmation", :class => "col-sm-3 control-label" %>
	 <div class="col-sm-9">
	 	<%= f.password_field(:password_confirmation, placeholder: '암호 확인', class: 'form-control') %>
	</div>
</div>
<div class="form-group">
	<%= f.label "Membership", :class => "col-sm-3 control-label" %>
	 <div class="col-sm-9">
	 	<%= f.select(:member_type, [["Basic", "basic"], ["Pro", "pro"], ["Premium", "premium"]],{}, { class: 'form-control input-lg'}) %>
	 </div>
</div>
<div class="form-group">

	<div class="col-sm-offset-3 col-sm-9" style="margin-top: 10px;">
		<%= button_tag(:type => 'submit', :class => 'btn btn-lg btn-primary btn-block') do %>
		Sign Up<i class="icon-ok"></i>
		<% end %>
	</div>
	<div class="col-sm-offset-3 col-sm-9" style="margin-top: 10px;">
		<%= link_to new_user_session_path do %> 이미 가입하셨나요? <strong>로그인하기</strong>
		<% end %>
	</div>
</div>
<% end %>

